AMD IOMMU: Add event logging support.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Apr 2008 12:43:23 +0000 (13:43 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Apr 2008 12:43:23 +0000 (13:43 +0100)
commit8415719513ba048939d0ded7565cd9cba7c306c4
tree5c2b78228a1832bcc01b51e7673bd8ef4b79253c
parent4ed4200b8551370a25b2cc803fd88836c58b9127
AMD IOMMU: Add event logging support.

MSI interrupt will be triggered on IO page fault and the fault address
will be written into an in-memory event log buffer automatically by
hardware. This patch handles the MSI interrupt simply by reading event
log entry and printing out the parsed result.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen/drivers/passthrough/amd/iommu_detect.c
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/include/asm-x86/amd-iommu.h
xen/include/asm-x86/hvm/svm/amd-iommu-defs.h
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h